<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<style>

        #hh { display: inline; }
         #dd{
            display: inline-block;
        }
</style>
<div  align="center" >
	<font size="6">凭证附件</font>
	<hr style="width:300px"/>
	<hr style="width:300px"/>

	<div style="margin-top: 20px" align="center">
	    <div>
	   
     
     <c:if test="${HZ!=null}">
	    <div id="dd">
	    	    <h3 id="hh">核算单位:${HZ[0].TITLE}</h3>
	    </div>
	    </c:if>
	   &nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;  
	   &nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;
	   &nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;
	   &nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;  
	   &nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;
	   
	   
	   <c:if test="${ddList!=null}">
	    <div id="dd">
	    	    <h3 id="hh">附件单数:${ddList[0].FJDJS}</h3>
	    </div>
	   
	</c:if>
		</div>
			<div style="margin-top: 20px">

	<table id="table" rules=all   style="border:1px solid #000;width:1000px;text-align:center;cellspacing=0;cellpadding=0" >
			<tr >
			<td height="30px">序号</td>
			<td height="30px">业务流水号</td>
			<td height="30px">摘要</td>
			<td height="30px">借方发生额</td>
			<td height="30px">贷方发生额</td>
			<td height="30px">业务发生时间</td>
			<td height="30px">业务操作员</td>
			</tr >
			<c:out value="${DataTotalCount}"/>
     <c:forEach var="company" items="${ddList}" varStatus="status">
			<tr>
			<td height="30px">${company.FLXH}</td>
			<td height="30px">${company.YWLSH}</td>
			<td height="30px">${company.ZHAIYAO}</td>
			<td height="30px">${company.JFFSE}</td>
			<td height="30px">${company.DFFSE}</td>
			<td height="30px"><%-- ${company.YWFSSJ} --%>数据库暂无该字段</td>
			<td height="30px"><%-- ${company.YWCZY} --%>数据库暂无该字段</td>
			</tr>
			
			    <c:if test="${!status.last}">, </c:if>
    </c:forEach>
	 </table>
	 
	 </div>
</div>

</div>